package com.itheima.homework;

import com.itheima.homework.demoddz.Card;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.TreeMap;

//需求:
//♠ ♥ ♦ ♣
//A 2 3 4 5 6 7 8 9 10 J Q K SmallJoker  BigJoker
//玩家3个,底牌三张
//打印每一个玩家的牌,排序
//打印底牌,排序
public class Test2 {
    public static void main(String[] args) {

        String[] number = {"A" ,"2", "3", "4", "5" ,"6" ,"7" ,"8" ,"9", "10", "J","Q" ,"K"};
        String[] color = {"♠","♥","♦","♣"};
        ArrayList<String> list = new ArrayList<>();
        for (int i = 0; i < number.length; i++) {
            for (int j = 0; j < color.length; j++) {
                list.add(number[i] + color[j]);
            }
        }
       // System.out.println(list);
        TreeMap<Integer, String> map = new TreeMap<>();

    }
}


